home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 6647 / 6647.xpi / chrome / httpfox.jar / content / HttpFoxOverlay.xul < prev    next >
Extensible Markup Language  |  2009-04-04  |  17KB  |  406 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://HttpFox/skin/HttpFox.css"
  3.                  type="text/css"?>
  4.                  
  5. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  6.  
  7.     <commandset id="mainCommandSet">
  8.         <command id="cmd_hf_startWatching" oncommand="HttpFox.cmd_hf_startWatching();"/>
  9.         <command id="cmd_hf_stopWatching" oncommand="HttpFox.cmd_hf_stopWatching();" disabled="true"/>
  10.         <command id="cmd_hf_toggleWatching" oncommand="HttpFox.cmd_hf_toggleWatching();"/>
  11.         <command id="cmd_hf_clear" oncommand="HttpFox.cmd_hf_clear();"/>
  12.         <command id="cmd_hf_togglePanel" oncommand="HttpFox.cmd_hf_togglePanel();"/>
  13.         <command id="cmd_hf_quickFilterChanged" oncommand="HttpFox.cmd_hf_quickFilterChanged();"/>
  14.         <command id="cmd_hf_close" oncommand="HttpFox.cmd_hf_close();"/>
  15.         <command id="cmd_hf_showAbout" oncommand="HttpFox.cmd_hf_showAbout();"/>
  16.         <command id="cmd_hf_detach" oncommand="HttpFox.cmd_hf_detach();"/>
  17.     </commandset>
  18.     
  19.     <keyset id="mainKeyset">
  20.         <key id="hf_key_1" keycode="VK_F2" modifiers="shift" command="cmd_hf_togglePanel"/>
  21.         <key id="hf_key_2" keycode="VK_F3" modifiers="shift" command="cmd_hf_toggleWatching"/>
  22.         <!--<key id="hf_key_3" keycode="VK_F2" modifiers="control" command="cmd_hf_startWatching"/>
  23.         <key id="hf_key_4" keycode="VK_F3" modifiers="control" command="cmd_hf_stopWatching"/>-->
  24.     </keyset>
  25.  
  26.     <!--<vbox id="hf_Panel" collapsed="true" persist="height" flex="1">-->
  27.         <vbox id="hf_RequestList" persist="height" flex="1">
  28.             <toolbox>
  29.             <!--<toolbar id="hf_TopBar" align="center" flex="0" style="-moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 0px; border-left-width: 0px; border-top-width: 1px; border-right-width: 1px;">-->
  30.                 <toolbar id="hf_TopBar" align="center" flex="0">
  31.                     <toolbarbutton id="hf_TopBarButton_Start" label="Start"
  32.                         tooltiptext="Start watching" command="cmd_hf_startWatching" />
  33.     
  34.                     <toolbarbutton id="hf_TopBarButton_Stop" label="Stop" 
  35.                         tooltiptext="Stop watching" command="cmd_hf_stopWatching" />
  36.                             
  37.                     <toolbarbutton id="hf_TopBarButton_Clear" label="Clear"
  38.                         tooltiptext="Clear" command="cmd_hf_clear"/>
  39.     
  40.                     <toolbarseparator id="hf_Separator" />
  41.                 
  42.                     <image id="hf_QuickFilterImage" control="hf_QuickFilterBox" />
  43.                     <textbox id="hf_QuickFilterBox" autocomplete="true" tooltiptext="Filter URL" type="timed" timeout="500" command="cmd_hf_quickFilterChanged" />
  44.         
  45.                     <checkbox id="hf_AutoScrollCheckbox" label="Autoscroll" checked="true" persist="checked" />
  46.         
  47.                     <toolbarspring/>
  48.                     
  49.                     <toolbarbutton id="hf_TopBarButton_Detach" 
  50.                         tooltiptext="Detach" command="cmd_hf_detach" align="right"/>
  51.                         
  52.                     <toolbarbutton id="hf_TopBarButton_Close" 
  53.                         tooltiptext="Close" command="cmd_hf_close" align="right"/>
  54.                 </toolbar>
  55.             </toolbox>
  56.             
  57.         <!--<hbox flex="1">-->
  58.             <popupset>
  59.                   <commandset>
  60.                       <command id="cmd_Clipboard_CopyTreeRowCell" oncommand="HttpFox.Clipboard_CopyTreeRowCell()" />
  61.                       <command id="cmd_Clipboard_CopyTreeRow" oncommand="HttpFox.Clipboard_CopyTreeRow()" />
  62.                       <command id="cmd_Clipboard_CopyTreeAllRows" oncommand="HttpFox.Clipboard_CopyTreeAllRows()" />
  63.                   </commandset>
  64.                   
  65.                   <popup id="hf_RequestTreeContextMenu" onpopupshowing="HttpFox.updateRequestContextMenu(event)">
  66.                       <menuitem label="Copy Cell" command="cmd_Clipboard_CopyTreeRowCell" />
  67.                       <menuitem label="Copy Row" command="cmd_Clipboard_CopyTreeRow"/>
  68.                       <menuitem label="Copy All Rows" command="cmd_Clipboard_CopyTreeAllRows" />
  69.                   </popup>
  70.               </popupset>
  71.           
  72.             <tree id="hf_RequestTree" context="hf_RequestTreeContextMenu" flex="1" onselect="HttpFox.selectionChange_RequestTree();">
  73.               <treecols>
  74.                 <treecol id="hf_Column_Started" 
  75.                     label="Started"
  76.                     persist="width hidden"
  77.                     flex="0" 
  78.                     style="width:75px; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 0px; border-top-width: 1px; border-right-width: 1px;"/>
  79.                 
  80.                 <splitter class="tree-splitter"/>
  81.                 
  82.                 <treecol id="hf_Column_Time"
  83.                     label="Time"
  84.                     persist="width hidden"
  85.                     flex="0" 
  86.                     style="width:55px; text-align:right; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;"/>
  87.                 
  88.                 <splitter class="tree-splitter"/>
  89.                 
  90.                 <treecol id="hf_Column_Sent" 
  91.                     label="Sent"
  92.                     persist="width hidden"
  93.                     flex="0" 
  94.                     style="width:70px; text-align:right; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;"/>
  95.                 
  96.                 <splitter class="tree-splitter"/>
  97.                 
  98.                 <treecol id="hf_Column_Received" 
  99.                     label="Received"
  100.                     persist="width hidden"
  101.                     flex="0" 
  102.                     style="width:80px; text-align:right; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;"/>
  103.                 
  104.                 <splitter class="tree-splitter"/>
  105.                 
  106.                 <treecol id="hf_Column_Method" 
  107.                     label="Method"
  108.                     persist="width hidden"
  109.                     flex="0" 
  110.                     style="width:55px; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;"/>
  111.                 
  112.                 <splitter class="tree-splitter"/>
  113.                 
  114.                 <treecol id="hf_Column_Result" 
  115.                     label="Result"
  116.                     persist="width hidden"
  117.                     flex="0" 
  118.                     style="width:65px; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;"/>
  119.                 
  120.                 <splitter class="tree-splitter"/>
  121.                 
  122.                 <treecol id="hf_Column_Type" 
  123.                     label="Type"
  124.                     persist="width hidden"
  125.                     flex="1" 
  126.                     style="-moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;"/>
  127.                 
  128.                 <splitter class="tree-splitter"/>
  129.                 
  130.                 <treecol id="hf_Column_URL" 
  131.                     crop="center"
  132.                     persist="width hidden"
  133.                     label="URL"
  134.                     flex="3" 
  135.                     style="-moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 0px;"/>
  136.               </treecols>
  137.               <treechildren id="hf_TreeChildren" />
  138.             </tree>
  139.         <!--</hbox>-->
  140.         </vbox>
  141.     
  142.         <splitter id="hf_MiddleSplitter" persist="height"/>
  143.     
  144.         <vbox id="hf_RequestDetails" persist="height" flex="1">
  145.             <popupset>
  146.                   <commandset>
  147.                       <command id="cmd_Clipboard_CopyTreeRowCell" oncommand="HttpFox.Clipboard_CopyTreeRowCell()" />
  148.                       <command id="cmd_Clipboard_CopyTreeRow" oncommand="HttpFox.Clipboard_CopyTreeRow()" />
  149.                       <command id="cmd_Clipboard_CopyTreeAllRows" oncommand="HttpFox.Clipboard_CopyTreeAllRows()" />
  150.                   </commandset>
  151.                   
  152.                   <popup id="hf_RequestDetailsContextMenu" onpopupshowing="HttpFox.updateRequestContextMenu(event)">
  153.                       <menuitem label="Copy" command="cmd_Clipboard_CopyTreeRowCell" />
  154.                       <menuitem label="Copy Row" command="cmd_Clipboard_CopyTreeRow"/>
  155.                       <menuitem label="Copy All Rows" command="cmd_Clipboard_CopyTreeAllRows" />
  156.                   </popup>
  157.               </popupset>
  158.                           
  159.             <hbox flex="1" style="overflow: auto;">
  160.                 <tabbox id="hf_Tablist" flex="1" >
  161.                     <tabs id="hf_RequestDetailsTabs" onselect="HttpFox.selectionChange_RequestDetails();">
  162.                         <tab label="Headers" />
  163.                         <tab label="Cookies" />
  164.                         <!--<tab label="Cache" />-->
  165.                         <tab label="Query String" />
  166.                         <tab label="POST Data" />
  167.                         <tab label="Content" />
  168.                         <tab label="Debug Log" id="hf_DebugTabHeader" />
  169.                     </tabs>
  170.                     
  171.                     <tabpanels flex="1">
  172.                     
  173.                         <!--<tabpanel id="hf_SummaryTab">
  174.                             <vbox id="bla" flex="1">
  175.                             </vbox>
  176.                         </tabpanel>-->
  177.  
  178.                         <tabpanel id="hf_HeadersTab" orient="vertical">
  179.                             <hbox flex="1">
  180.                                 <hbox flex="1">
  181.                                 <tree context="hf_RequestDetailsContextMenu" id="hf_RequestHeadersTree" flex="1" hidecolumnpicker="true">
  182.                                   <treecols>
  183.                                     <treecol id="hf_HeaderColumnName" 
  184.                                         label="Request Header" 
  185.                                         flex="1" 
  186.                                         style="width:50px;"/>
  187.                                     
  188.                                     <splitter class="tree-splitter"/>
  189.                                     
  190.                                     <treecol id="hf_HeaderColumnValue" 
  191.                                         label="Value" 
  192.                                         flex="5" 
  193.                                         style=""/>
  194.                                     
  195.                                    </treecols>
  196.                                    <treechildren id="hf_RequestHeadersChildren"/>
  197.                                  </tree>
  198.                                 </hbox>
  199.                                 
  200.                                 <hbox flex="1">
  201.                                 <tree context="hf_RequestDetailsContextMenu" id="hf_ResponseHeadersTree" flex="1" hidecolumnpicker="true">
  202.                                   <treecols>
  203.                                     <treecol id="hf_HeaderColumnName" 
  204.                                         label="Response Header" 
  205.                                         flex="1"
  206.                                         style="width:50px;"/>
  207.                                     
  208.                                     <splitter class="tree-splitter"/>
  209.                                     
  210.                                     <treecol id="hf_HeaderColumnValue" 
  211.                                         label="Value" 
  212.                                         flex="5" 
  213.                                         style=""/>
  214.                                     
  215.                                    </treecols>
  216.                                    <treechildren id="hf_ResponseHeadersChildren"/>
  217.                                  </tree>
  218.                                 </hbox>
  219.                              </hbox>
  220.                         </tabpanel>
  221.                         
  222.                         <tabpanel id="hf_CookiesTab" orient="vertical">
  223.                             <vbox flex="1">
  224.                                 <tree context="hf_RequestDetailsContextMenu" id="hf_CookiesSentTree" flex="1" hidecolumnpicker="true">
  225.                                     <treecols>
  226.                                         <treecol id="hf_CookiesColumnName" 
  227.                                             label="Cookie Sent" 
  228.                                             flex="0"
  229.                                             style="width:120px;"/>
  230.                                         
  231.                                         <splitter class="tree-splitter"/>
  232.                                         
  233.                                         <treecol id="hf_CookiesColumnValue" 
  234.                                             label="Value" 
  235.                                             flex="6" 
  236.                                             style=""/>
  237.                                         
  238.                                         <splitter class="tree-splitter"/>
  239.                                         
  240.                                         <treecol id="hf_CookiesColumnPath" 
  241.                                             label="Path" 
  242.                                             flex="1" 
  243.                                             style=""/>
  244.                                             
  245.                                         <splitter class="tree-splitter"/>
  246.                                         
  247.                                         <treecol id="hf_CookiesColumnDomain" 
  248.                                             label="Domain" 
  249.                                             flex="2" 
  250.                                             style=""/>
  251.                                             
  252.                                         <splitter class="tree-splitter"/>
  253.                                         
  254.                                         <treecol id="hf_CookiesColumnExpires" 
  255.                                             label="Expires" 
  256.                                             flex="4" 
  257.                                             style=""/>
  258.                                         
  259.                                     </treecols>
  260.                                     <treechildren id="hf_CookiesSentChildren"/>
  261.                                 </tree>
  262.                                 
  263.                                 <splitter id="hf_MiddleSplitter" persist="height"/>
  264.                                 
  265.                                 <tree context="hf_RequestDetailsContextMenu" id="hf_CookiesReceivedTree" flex="1" hidecolumnpicker="true">
  266.                                     <treecols>
  267.                                         <treecol id="hf_CookiesColumnName" 
  268.                                             label="Cookie Received" 
  269.                                             flex="0"
  270.                                             style="width:120px;"/>
  271.                                         
  272.                                         <splitter class="tree-splitter"/>
  273.                                         
  274.                                         <treecol id="hf_CookiesColumnValue" 
  275.                                             label="Value" 
  276.                                             flex="6" 
  277.                                             style=""/>
  278.                                         
  279.                                         <splitter class="tree-splitter"/>
  280.                                         
  281.                                         <treecol id="hf_CookiesColumnPath" 
  282.                                             label="Path" 
  283.                                             flex="1" 
  284.                                             style=""/>
  285.                                             
  286.                                         <splitter class="tree-splitter"/>
  287.                                         
  288.                                         <treecol id="hf_CookiesColumnDomain" 
  289.                                             label="Domain" 
  290.                                             flex="2" 
  291.                                             style=""/>
  292.                                             
  293.                                         <splitter class="tree-splitter"/>
  294.                                         
  295.                                         <treecol id="hf_CookiesColumnExpires" 
  296.                                             label="Expires" 
  297.                                             flex="4" 
  298.                                             style=""/>
  299.                                         
  300.                                     </treecols>
  301.                                     <treechildren id="hf_CookiesReceivedChildren"/>
  302.                                 </tree>
  303.                             </vbox>
  304.                         </tabpanel>
  305.                         
  306.                         <!--<tabpanel id="hf_CacheInfoTab" orient="vertical">
  307.                             <tree context="hf_RequestDetailsContextMenu" style="border: none;" id="hf_CacheInfoTree" flex="1" hidecolumnpicker="true">
  308.                                 <treecols>
  309.                                     <treecol id="hf_CacheInfoColumnName" 
  310.                                         label="" 
  311.                                         flex="1" 
  312.                                         style="width:50px; -moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 0px; border-top-width: 1px; border-right-width: 1px;"/>
  313.                                     
  314.                                     <splitter class="tree-splitter"/>
  315.                                     
  316.                                     <treecol id="hf_CacheInfoColumnValue" 
  317.                                         label="Value" 
  318.                                         flex="5" 
  319.                                         style="-moz-border-top-colors: ThreeDLightShadow ThreeDLightShadow; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; border-right-width: 0px;"/>
  320.                                     
  321.                                 </treecols>
  322.                                 <treechildren id="hf_CacheInfoChildren"/>
  323.                             </tree>
  324.                         </tabpanel>-->
  325.                         
  326.                         <tabpanel id="hf_QueryStringTab" orient="vertical">
  327.                             <tree context="hf_RequestDetailsContextMenu" id="hf_QueryStringTree" flex="1" hidecolumnpicker="true">
  328.                                 <treecols>
  329.                                     <treecol id="hf_QueryStringColumnName" 
  330.                                         label="Parameter" 
  331.                                         flex="1" 
  332.                                         style="width:50px;"/>
  333.                                     
  334.                                     <splitter class="tree-splitter"/>
  335.                                     
  336.                                     <treecol id="hf_QueryStringColumnValue" 
  337.                                         label="Value" 
  338.                                         flex="5" 
  339.                                         style=""/>
  340.                                     
  341.                                 </treecols>
  342.                                 <treechildren id="hf_QueryStringChildren"/>
  343.                             </tree>
  344.                         </tabpanel>
  345.                         
  346.                         <tabpanel id="hf_PostDataTab" orient="vertical">
  347.                             <vbox flex="1">
  348.                                 <label id="hf_PostDataMimeType" />
  349.                                 <box flex="1" id="hf_PostDataPrettyBox">
  350.                                     <tree collapsed="false" context="hf_RequestDetailsContextMenu" id="hf_PostDataTree" flex="1" hidecolumnpicker="true">
  351.                                         <treecols>
  352.                                             <treecol id="hf_PostDataColumnName" 
  353.                                                 label="Parameter" 
  354.                                                 flex="1" 
  355.                                                 style="width:50px;"/>
  356.                                             
  357.                                             <splitter class="tree-splitter"/>
  358.                                             
  359.                                             <treecol id="hf_PostDataColumnValue" 
  360.                                                 label="Value" 
  361.                                                 flex="5" 
  362.                                                 style=""/>
  363.                                             
  364.                                         </treecols>
  365.                                         <treechildren id="hf_PostDataChildren"/>
  366.                                     </tree>
  367.     
  368.                                     <browser class="textbox_browser" collapsed="true" id="hf_PostDataPretty" style="background-color:#FFFFFF; font-family: -moz-fixed; font-weight: normal;" type="content" flex="1" readonly="true" wrap="false" multiline="true"/>
  369.                                 </box>
  370.     
  371.                                 <box flex="1" id="hf_PostDataRawBox">    
  372.                                     <textbox id="hf_PostDataRawOutput" style="background-color:#FFFFFF; font-family: -moz-fixed; font-weight: normal;" type="content" flex="1" readonly="true" wrap="false" multiline="true"/>
  373.                                 </box>
  374.                                 
  375.                                 <radiogroup orient="horizontal">
  376.                                     <radio id="hf_PostDataRadioPretty" label="Pretty" onclick="HttpFox.selectionChange_PostDataDisplayTypePretty();" selected="true" />
  377.                                     <radio id="hf_PostDataRadioRaw" label="Raw" onclick="HttpFox.selectionChange_PostDataDisplayTypeRaw();" />
  378.                                 </radiogroup>
  379.                             </vbox>
  380.                         </tabpanel>
  381.                         
  382.                         <tabpanel id="hf_ContentTab" orient="vertical">
  383.                             <vbox flex="1">
  384.                                 <label id="hf_ContentTypeLabel" />
  385.                                 <browser id="hf_PrettyContentOutput" class="textbox_browser" type="content" flex="1" readonly="true" wrap="false" multiline="true"/>
  386.             
  387.                                 <textbox id="hf_RawContentOutput" class="textbox_browser" type="content" flex="1" readonly="true" wrap="false" multiline="true"/>
  388.             
  389.                                 <radiogroup id="hf_ContentRadioGroup" orient="horizontal">
  390.                                     <radio id="hf_ContentRadioPretty" label="Pretty" onclick="HttpFox.selectionChange_ContentDisplayTypePretty();" selected="true" />
  391.                                     <radio id="hf_ContentRadioRaw" label="Raw" onclick="HttpFox.selectionChange_ContentDisplayTypeRaw();" />
  392.                                 </radiogroup>
  393.                             </vbox>
  394.                         </tabpanel>
  395.                         
  396.                         <tabpanel id="hf_DebugTab" orient="vertical">
  397.                             <browser id="hf_DebugOutput" class="textbox_browser" src="about:blank" type="content" flex="1"/>
  398.                         </tabpanel>
  399.                         
  400.                     </tabpanels>
  401.                 </tabbox>
  402.             </hbox>
  403.         </vbox>
  404. <!--    </vbox>-->
  405.  
  406. </overlay>